﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Core.Content;

namespace MvcEngine.Core.Repositories
{
    public interface IModuleRepository
    {
        Module Get(string name);
        //IModule GetByAssemblyName(string name);
        void Delete(string name);

        Module Get(Guid id);
        
        IList<Module> GetAll();

        IList<Module> GetAll(bool isInstallable);

        void Add(Module entity);

        void Delete(Guid id);
        
        void DeleteAll();
    }
}
